package model;

public class Node {
	public static final int WIDTH = 20;

	public static final int HEIGHT = 20;

	private int x;

	private int y;

	public int getX() {   //创建访问私有变量x的方法
		return x;
	}

	public void setX(int x) {
		this.x = x;
	}

	public int getY() {
		return y;
	}

	public void setY(int y) {
		this.y = y;
	}

	public Node(int x, int y) {
		super();
		this.x = x;
		this.y = y;
	}

	
}

